<%--
  Created by IntelliJ IDEA.
  User: win
  Date: 2020/10/15
  Time: 23:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>登录</title>
  </head>
  <body style="padding: 50px">
    <form action="login" method="post">
      用户名：<br>
      <input type="text" name="userName"><br>
      密&nbsp;&nbsp;&nbsp;&nbsp;码：<br>
      <input type="password" name="password"><br>
      <span style="color: red"><%= request.getAttribute("error")==null ? "" : request.getAttribute("error") %></span><br>
      <input type="submit" value="登录">
    </form>
  </body>
</html>
